({
  //全局配置
  globalConfig: {
    useProxy: false,
    proxyUrl: '',
    // proxyUrl: 'http://192.168.0.12:8088/gisApp/proxy.do?targetURL=',
    //proxyUrl: "http://121.36.255.176:18095/akhzz/infoservice/proxy.do?targetURL=", //跨域代理
    //18级
    resolutions: [0.703125, 0.351563, 0.175781, 0.0878906, 0.0439453, 0.0219727, 0.0109863, 0.00549316, 0.00274658, 0.00137329, 0.000686646, 0.000343323, 0.000171661, 0.0000858307, 0.0000429153, 0.0000214577, 0.0000107289, 0.00000536445],
    baseLayerSwitchType: 1,
    tdt_wmts_baseUrl1: 'http://10.1.7.160:81',
    tdt_wmts_baseUrl2: 'http://t{n}.tianditu.gov.cn',
    tdt_switch: 2,
    tdt_key: '175656e429280d9bef226bf70ca4d195',
    gisVersion: 'arcgis', //gis平台设置
    terrainUrl: 'http://data.marsgis.cn/terrain',
    // serverUrl: 'http://222.240.1.6:18094/skypt/infoservice/',   //后台接口地址 名晟
    serverUrl: 'http://172.24.7.138/skypt/infoservice/', //后台接口地址 水利局
    // serverUrl: 'http://localhost:18086/skypt/infoservice/', //后台接口地址 本地
    gisServerUrl: 'http://172.24.7.155:18081/',//水利局
    // gisServerUrl: 'http://222.240.1.6:18082/',
    arcgisServerUrl: 'http://192.168.0.12:6080/arcgis/services/csArcgis/MapServer/WFSServer',
    streamServerIp: '172.29.32.60',
    cimGisXzq: 'http://172.24.10.17:18300/1548461356/geoscene/rest/services/cim/sl_xzqh/MapServer/',
    cimGisYx: 'http://172.24.10.17:18300/citylib/arcgis/rest/services/B_YGYX/YXDT2018_10000/MapServer/',
    cimkey: 'd58b17638488401192fb1ea7929ea795',
  },

  //数据配置 ARCGIS 发布的服务outputFormat：WFS   version:'1.1.0', Supmap服务outputFormat:'GML2'  version:'1.0.0',
  dataConfig: {
    serviceList: [{
      name: 'mapdata', //服务名
      type: 'wfs', //服务类型
      version: '1.0.0', //服务版本
      outputFormat: 'GML2', //返回数据类型
      //arcgisUrl: "",
      //supermapUrl: "http://112.46.124.180:18090/iserver/services/data-sx/wfs100/utf-8?", //superMap服务地址
      url: 'http://172.24.7.155:18081/iserver/services/data-hydro/wfs100/utf-8?MAXFEATURES=100000',
      // url: 'http://222.240.1.6:18082/iserver/services/data-hydro/wfs100/utf-8?MAXFEATURES=100000',
      featurePrefix: 'mapdata',
      featureNS: 'http://www.opengis.net/mapdata'
    }, {
      name: 'mapdata2', //服务名
      type: 'agsRest',
      url: 'http://172.24.10.17:18300/1314361730/geoscene/rest/services/CIM/zhsl0723/MapServer',
      url2: 'http://172.24.10.17:18300/1280684572/geoscene/rest/services/CIM/zhsl0723/FeatureServer'
    }, {
      name: 'cityLine',
      type: 'GeoJSON',
      url: './gis/data/cityLine.json'
    }, {
      name: 'cntyLine',
      type: 'GeoJSON',
      url: './gis/data/cntyLine.json'
    }]
  },

  //地图配置
  mapConfig: {
    CRS: 'EPSG:4326', //坐标系编号
    center: [113.0738138625, 28.25746007, 1005507.547, 359.158, -90, 0.002], //  639507.547                                          //中心点坐标
    extent: [110.230360443, 34.5836854770001, 114.563063459, 40.7450354740001],
    showMode: '2d',
    initialFlyAnimation: false,
    enableFlyPath: false,
    flyPath: 'gis/data/nm.fpf',
    showGlobe: true,
    sceneBackgroundColor: '', //"#020d4d"   rgb(2,13,77)
    useDefaultLocation: true,
    depthTestAgainstTerrain: true,
    terrain: 'EllipsoidTerrain', //EllipsoidTerrain  VRTheWorldTerrain  SmTerrain CesiumTerrain
    freeTilt: true,
    constrainCamera: false,
    terrainExaggeration: 1,
    sceneMode: 'SCENE3D', //SCENE3D  COLUMBUS_VIEW   SCENE2D
    minimumZoomDistance: 1,
    maximumZoomDistance: 10000000000,
    controls: [],//['FullScreen','Rotate','Zoom','OverviewMap'],  //['FullScreen','Rotate','Zoom'],                                    //
    initialZoom: 9.5, //初始缩放级别
    minZoom: 9, //最小缩放级别
    maxZoom: 20, //最大缩放级别
    rotation: 0,
    debug: false,
    //clickEventHandler: "clickEventHandler",
    //moveEventHandler: "moveEventHandler",
    hitTolerance: 5
  },

  //右下方元素显示模式配置
  customShowModeConfig: {
    show: true,
    mapReset: {
      showMode: '23d'
    },
    mapzoom: {
      showMode: '23d'
    },
    mapType: {
      showMode: '23d'
    }
  },

  //右上方工具条配置
  customToolBarConfig: {
    show: true,
    items: [{
      name: 'toolBox',
      title: '工具箱',
      img: 'gis/image/gj.png',
      showMode: '23d',
      items: [{
        name: 'reset',
        title: '复位',
        img: 'gis/image/reset2.png',
        showMode: '23d'
      }, {
        name: 'measureDis',
        title: '距离',
        img: 'gis/image/line.png',
        showMode: '2d'
      }
        // , {
        //   name: "measureSur",
        //   title: "面积",
        //   img: "gis/image/polygon.png",
        //   showMode: "2d"
        // }
        , {
        name: 'pickCoordinate',
        title: '拾取',
        img: 'gis/image/pickCoordinate.png',
        showMode: '2d'
      }, {
        name: 'clear',
        title: '清除',
        img: 'gis/image/clear.png',
        showMode: '2d'
      },
      {
        name: "print",
        title: "打印",
        img: "gis/image/print.png",
        showMode: "2d"
      },
      {
        name: "kjfx",
        title: "空间分析",
        img: "gis/image/print.png",
        showMode: "2d"
      }
        // ,
        // {
        //   name: "overviewMap",
        //   title: "鹰眼地图",
        //   img: "gis/image/print.png",
        //   showMode: "2d"
        // }
        // {
        //   name: "fullscreen",
        //   title: "全屏",
        //   img: "gis/image/fullscreen.png",
        //   showMode: "23d"
        // },
      ]
    }, {
      name: 'layerctl',
      title: '图层',
      img: 'gis/image/layerctl.png',
      showMode: '23d'
    }]
  },

  //图层配置
  layersConfig: [{
    name: 'baseLayer0',
    type: 'gmap', //gaode  qq   gmap  bd
    enable: false,
    visible: true,
    // minZoom: 1,
    // maxZoom: 18,
    //brightness: 0.75,
    opacity: 1,
    zIndex: 0,
    subLayers: 'img', // ter  vec  img  label
    showMode: '2d'
  }, {
    name: 'baseLayer2',
    type: 'qq', //
    enable: false,
    visible: true,
    // minZoom: 1,
    // maxZoom: 18,
    //brightness: 0.75,
    opacity: 1,
    zIndex: 0,
    subLayers: 'img_label', // ter  vec  img  label
    showMode: '2d'
  }, {
    name: 'baseLayer0',
    type: 'tdt_wmts', //天地图wmts
    enable: true,
    visible: true,
    // minZoom: 1,
    // maxZoom: 18,
    //brightness: 0.75,
    opacity: 1,
    zIndex: 0,
    subLayers: 'img_c', //slb_c  ter_c     vec_c   ter_c  img_c
    showMode: '2d'
  }, {
    name: 'baseLayer1',
    type: 'tdt_wmts', //天地图wmts
    lyrType: 'label',
    enable: false,
    visible: true,
    //minZoom: 10,
    //maxZoom: 18,
    opacity: 1,
    zIndex: 2,
    subLayers: 'cia_c', //sla_c  sia_c     cva_c   cta_c   cia_c
    showMode: '2d'
  }, {
    name: 'cntyLine', //县区边界线
    type: 'vector', //图层类型
    enable: false,
    visible: false,
    // minZoom: 1,
    // maxZoom: 18,
    opacity: 1,
    zIndex: 8, //图层叠加顺序
    serviceName: 'cntyLine',
    featureTypeName: 'cntyLine',
    featureLinkField: 'ID',
    businessLinkField: 'OBJ_CD',
    styleId: 'cntyLine', //样式id
    popupOverlayId: '', //飘窗对应的overlayid
    showMode: '23d'
  }, {
    name: 'provLine2', //市边界线2
    type: 'vector', //图层类型
    enable: false,
    visible: true,
    // minZoom: 1,
    // maxZoom: 18,
    opacity: 1,
    zIndex: 8, //图层叠加顺序
    serviceName: 'cityLine',
    featureTypeName: 'cityLine',
    featureLinkField: 'ID',
    businessLinkField: 'OBJ_CD',
    styleId: 'provLine2', //样式id
    popupOverlayId: '', //飘窗对应的overlayid
    showMode: '23d'
  }, {
    name: 'provLine1', //市边界线1
    type: 'vector', //图层类型
    enable: false,
    visible: true,
    // minZoom: 1,
    // maxZoom: 18,
    opacity: 1,
    zIndex: 9, //图层叠加顺序
    serviceName: 'cityLine',
    featureTypeName: 'cityLine',
    featureLinkField: 'ID',
    businessLinkField: 'OBJ_CD',
    styleId: 'provLine1', //样式id
    popupOverlayId: '', //飘窗对应的overlayid
    showMode: '23d'
  }, { //大中型水库
    name: 'dzxsk', //图层名
    type: 'agsRest', //图层类型
    enable: true,
    visible: true,
    // minZoom: 10,
    //maxZoom: 15,
    opacity: 1,
    zIndex: 2, //图层叠加顺序
    useLayerId: true,
    key: 'd58b17638488401192fb1ea7929ea795',
    url: 'http://172.24.10.17:18300/1314361730/geoscene/rest/services/CIM/zhsl0723/MapServer',//supermap wms服务地址
    subLayers: '19', //supermap子图层名：  省、市
    showMode: '23d'
  }, { //一级河流
    name: 'river1', //图层名
    type: 'agsRest', //图层类型
    enable: true,
    visible: true,
    // minZoom: 10,
    //maxZoom: 15,
    opacity: 1,
    zIndex: 2, //图层叠加顺序
    useLayerId: true,
    key: 'd58b17638488401192fb1ea7929ea795',
    url: 'http://172.24.10.17:18300/1314361730/geoscene/rest/services/CIM/zhsl0723/MapServer',//supermap wms服务地址
    subLayers: '65', //supermap子图层名：  省、市
    showMode: '23d'
  }, { //二级河流
    name: 'river2', //图层名
    type: 'agsRest', //图层类型
    enable: true,
    visible: true,
    minZoom: 11,
    //maxZoom: 15,
    opacity: 1,
    zIndex: 2, //图层叠加顺序
    useLayerId: true,
    key: 'd58b17638488401192fb1ea7929ea795',
    url: 'http://172.24.10.17:18300/1314361730/geoscene/rest/services/CIM/zhsl0723/MapServer',//supermap wms服务地址
    subLayers: '67', //supermap子图层名：  省、市
    showMode: '23d'
  }, { //三级河流
    name: 'river3', //图层名
    type: 'agsRest', //图层类型
    enable: true,
    visible: true,
    minZoom: 12,
    //maxZoom: 15,
    opacity: 1,
    zIndex: 2, //图层叠加顺序
    useLayerId: true,
    key: 'd58b17638488401192fb1ea7929ea795',
    url: 'http://172.24.10.17:18300/1314361730/geoscene/rest/services/CIM/zhsl0723/MapServer',//supermap wms服务地址
    subLayers: '68', //supermap子图层名：  省、市
    showMode: '23d'
  }, { //四级河流
    name: 'river4', //图层名
    type: 'agsRest', //图层类型
    enable: true,
    visible: true,
    minZoom: 13,
    //maxZoom: 15,
    opacity: 1,
    zIndex: 2, //图层叠加顺序
    useLayerId: true,
    key: 'd58b17638488401192fb1ea7929ea795',
    url: 'http://172.24.10.17:18300/1314361730/geoscene/rest/services/CIM/zhsl0723/MapServer',//supermap wms服务地址
    subLayers: '69', //supermap子图层名：  省、市
    showMode: '23d'
  }, {
    name: 'restmap', //图层名
    type: 'smRest', //图层类型  smRest wms
    extent: [-180, -90, 180, 90],
    enable: false,
    visible: true,
    // minZoom: 1,
    //maxZoom: 13,
    opacity: 1,
    zIndex: 2, //图层叠加顺序
    url: 'http://222.240.1.6:18082/iserver/services/map-hydro/rest/maps/hydro',
    subLayers: '1,2',
    showMode: '23d'
  }, {
    name: 'riverFlow', // 河流流动
    type: 'flowLine', //图层类型
    enable: false,
    visible: false,
    // minZoom: 1,
    // maxZoom: 18,
    opacity: 1,
    zIndex: 9, //图层叠加顺序
    serviceName: 'river',
    // featureTypeName: "river1",
    // featureLinkField: "ID",
    // businessLinkField: "OBJ_CD",
    flowSpeed: 60,
    styleId: 'riverFlow', //样式id
    popupOverlayId: '', //飘窗对应的overlayid
    showMode: '23d'
  }, {
    name: 'rswb1', //一级水库
    type: 'vector', //图层类型
    enable: false,
    visible: true,
    opacity: 1,
    zIndex: 1, //图层叠加顺序
    serviceName: 'sxdata',
    featureTypeName: 'rswb1',
    featureLinkField: 'ID',
    businessLinkField: 'OBJ_CD',
    styleId: 'rswb1', //样式id
    popupOverlayId: '', //飘窗对应的overlayid
    showMode: '23d'
  }, { //水域岸线
    name: 'syax', //图层名
    type: 'agsRest', //图层类型
    enable: true,
    visible: true,
    // minZoom: 9,
    //maxZoom: 15,
    opacity: 1,
    zIndex: 3, //图层叠加顺序
    // url: 'https://akzhihuihehu.cn:18090/iserver/services/map-hydro/wms111/hydro',//supermap wms服务地址
    // subLayers: 'fwglxhb@mapdata', //supermap子图层名：  省、市
    useLayerId: true,
    key: 'd58b17638488401192fb1ea7929ea795',
    url: 'http://172.24.10.17:18300/1314361730/geoscene/rest/services/CIM/zhsl0723/MapServer',
    subLayers: '71',
    showMode: '23d'
  }, { //采砂保留区
    name: 'blq', //图层名
    type: 'agsRest', //图层类型
    enable: true,
    visible: true,
    // minZoom: 9,
    //maxZoom: 15,
    opacity: 1,
    zIndex: 3, //图层叠加顺序
    // url: 'https://akzhihuihehu.cn:18090/iserver/services/map-hydro/wms111/hydro',//supermap wms服务地址
    // subLayers: 'fwglxhb@mapdata', //supermap子图层名：  省、市
    useLayerId: true,
    key: 'd58b17638488401192fb1ea7929ea795',
    url: 'http://172.24.10.17:18300/1314361730/geoscene/rest/services/CIM/zhsl0723/MapServer',
    subLayers: '3',
    showMode: '23d'
  }, { //采砂禁采区
    name: 'jcq', //图层名
    type: 'agsRest', //图层类型
    enable: true,
    visible: false,
    // minZoom: 9,
    //maxZoom: 15,
    opacity: 1,
    zIndex: 3, //图层叠加顺序
    // url: 'https://akzhihuihehu.cn:18090/iserver/services/map-hydro/wms111/hydro',//supermap wms服务地址
    // subLayers: 'fwglxhb@mapdata', //supermap子图层名：  省、市
    useLayerId: true,
    key: 'd58b17638488401192fb1ea7929ea795',
    url: 'http://172.24.10.17:18300/1314361730/geoscene/rest/services/CIM/zhsl0723/MapServer',
    subLayers: '38',
    showMode: '23d'
  }, { // 码头
    name: 'mt', //图层名
    type: 'agsRest', //图层类型
    enable: true,
    visible: false,
    // minZoom: 9,
    //maxZoom: 15,
    opacity: 1,
    zIndex: 3, //图层叠加顺序
    useLayerId: true,
    key: 'd58b17638488401192fb1ea7929ea795',
    url: 'http://172.24.10.17:18300/1314361730/geoscene/rest/services/CIM/zhsl0723/MapServer',
    subLayers: '43',
    showMode: '23d'
  }, { // 水尺
    name: 'sc', //图层名
    type: 'agsRest', //图层类型
    enable: true,
    visible: false,
    // minZoom: 9,
    //maxZoom: 15,
    opacity: 1,
    zIndex: 3, //图层叠加顺序
    useLayerId: true,
    key: 'd58b17638488401192fb1ea7929ea795',
    url: 'http://172.24.10.17:18300/1314361730/geoscene/rest/services/CIM/zhsl0723/MapServer',
    subLayers: '74',
    showMode: '23d'
  }, { // 水准点
    name: 'szd', //图层名
    type: 'agsRest', //图层类型
    enable: true,
    visible: false,
    // minZoom: 9,
    //maxZoom: 15,
    opacity: 1,
    zIndex: 3, //图层叠加顺序
    useLayerId: true,
    key: 'd58b17638488401192fb1ea7929ea795',
    url: 'http://172.24.10.17:18300/1314361730/geoscene/rest/services/CIM/zhsl0723/MapServer',
    subLayers: '86',
    showMode: '23d'
  }, { //湖泊
    name: 'lake', //图层名
    type: 'agsRest', //图层类型
    enable: true,
    visible: true,
    // minZoom: 9,
    //maxZoom: 15,
    opacity: 1,
    zIndex: 3, //图层叠加顺序
    // url: 'https://akzhihuihehu.cn:18090/iserver/services/map-hydro/wms111/hydro',//supermap wms服务地址
    // subLayers: 'fwglxhb@mapdata', //supermap子图层名：  省、市
    useLayerId: true,
    key: 'd58b17638488401192fb1ea7929ea795',
    url: 'http://172.24.10.17:18300/1314361730/geoscene/rest/services/CIM/zhsl0723/MapServer',
    subLayers: '39',
    showMode: '23d'
  }, { //水功能区
    name: 'wfz', //水功能区
    type: 'agsRest', //图层类型
    enable: true,
    visible: false,
    // minZoom: 9,
    //maxZoom: 15,
    opacity: 1,
    zIndex: 3, //图层叠加顺序
    // url: 'https://akzhihuihehu.cn:18090/iserver/services/map-hydro/wms111/hydro',//supermap wms服务地址
    // subLayers: 'fwglxhb@mapdata', //supermap子图层名：  省、市
    useLayerId: true,
    key: 'd58b17638488401192fb1ea7929ea795',
    url: 'http://172.24.10.17:18300/1314361730/geoscene/rest/services/CIM/zhsl0723/MapServer',
    subLayers: '96',
    showMode: '23d'
  }, { //堤防
    name: 'dike', //堤防
    type: 'agsRest', //图层类型
    enable: true,
    visible: false,
    // minZoom: 9,
    //maxZoom: 15,
    opacity: 1,
    zIndex: 3, //图层叠加顺序
    // url: 'https://akzhihuihehu.cn:18090/iserver/services/map-hydro/wms111/hydro',//supermap wms服务地址
    // subLayers: 'fwglxhb@mapdata', //supermap子图层名：  省、市
    useLayerId: true,
    key: 'd58b17638488401192fb1ea7929ea795',
    url: 'http://172.24.10.17:18300/1314361730/geoscene/rest/services/CIM/zhsl0723/MapServer',
    subLayers: '15',
    showMode: '23d'
  }, { //水闸
    name: 'gate', //水闸
    type: 'agsRest', //图层类型
    enable: true,
    visible: false,
    // minZoom: 9,
    //maxZoom: 15,
    opacity: 1,
    zIndex: 3, //图层叠加顺序
    // url: 'https://akzhihuihehu.cn:18090/iserver/services/map-hydro/wms111/hydro',//supermap wms服务地址
    // subLayers: 'fwglxhb@mapdata', //supermap子图层名：  省、市
    useLayerId: true,
    key: 'd58b17638488401192fb1ea7929ea795',
    url: 'http://172.24.10.17:18300/1314361730/geoscene/rest/services/CIM/zhsl0723/MapServer',
    subLayers: '26',
    showMode: '23d'
  }, { //水电站
    name: 'hypo', //水电站
    type: 'agsRest', //图层类型
    enable: true,
    visible: false,
    // minZoom: 9,
    //maxZoom: 15,
    opacity: 1,
    zIndex: 3, //图层叠加顺序
    // url: 'https://akzhihuihehu.cn:18090/iserver/services/map-hydro/wms111/hydro',//supermap wms服务地址
    // subLayers: 'fwglxhb@mapdata', //supermap子图层名：  省、市
    useLayerId: true,
    key: 'd58b17638488401192fb1ea7929ea795',
    url: 'http://172.24.10.17:18300/1314361730/geoscene/rest/services/CIM/zhsl0723/MapServer',
    subLayers: '34',
    showMode: '23d'
  }, { //渠道
    name: 'chan', //渠道
    type: 'agsRest', //图层类型
    enable: true,
    visible: false,
    // minZoom: 9,
    //maxZoom: 15,
    opacity: 1,
    zIndex: 3, //图层叠加顺序
    // url: 'https://akzhihuihehu.cn:18090/iserver/services/map-hydro/wms111/hydro',//supermap wms服务地址
    // subLayers: 'fwglxhb@mapdata', //supermap子图层名：  省、市
    useLayerId: true,
    key: 'd58b17638488401192fb1ea7929ea795',
    url: 'http://172.24.10.17:18300/1314361730/geoscene/rest/services/CIM/zhsl0723/MapServer',
    subLayers: '5',
    showMode: '23d'
  }, { //蓄滞洪区
    name: 'fsda', //蓄滞洪区
    type: 'agsRest', //图层类型
    enable: true,
    visible: false,
    // minZoom: 9,
    //maxZoom: 15,
    opacity: 1,
    zIndex: 3, //图层叠加顺序
    // url: 'https://akzhihuihehu.cn:18090/iserver/services/map-hydro/wms111/hydro',//supermap wms服务地址
    // subLayers: 'fwglxhb@mapdata', //supermap子图层名：  省、市
    useLayerId: true,
    key: 'd58b17638488401192fb1ea7929ea795',
    url: 'http://172.24.10.17:18300/1314361730/geoscene/rest/services/CIM/zhsl0723/MapServer',
    subLayers: '25',
    showMode: '23d'
  }, { //物料储备地点
    name: 'mawh', //物料储备地点
    type: 'agsRest', //图层类型
    enable: true,
    visible: false,
    // minZoom: 9,
    //maxZoom: 15,
    opacity: 1,
    zIndex: 3, //图层叠加顺序
    // url: 'https://akzhihuihehu.cn:18090/iserver/services/map-hydro/wms111/hydro',//supermap wms服务地址
    // subLayers: 'fwglxhb@mapdata', //supermap子图层名：  省、市
    useLayerId: true,
    key: 'd58b17638488401192fb1ea7929ea795',
    url: 'http://172.24.10.17:18300/1314361730/geoscene/rest/services/CIM/zhsl0723/MapServer',
    subLayers: '41',
    showMode: '23d'
  }, { //圩垸
    name: 'pold', //圩垸
    type: 'agsRest', //图层类型
    enable: true,
    visible: false,
    // minZoom: 9,
    //maxZoom: 15,
    opacity: 1,
    zIndex: 3, //图层叠加顺序
    // url: 'https://akzhihuihehu.cn:18090/iserver/services/map-hydro/wms111/hydro',//supermap wms服务地址
    // subLayers: 'fwglxhb@mapdata', //supermap子图层名：  省、市
    useLayerId: true,
    key: 'd58b17638488401192fb1ea7929ea795',
    url: 'http://172.24.10.17:18300/1314361730/geoscene/rest/services/CIM/zhsl0723/MapServer',
    subLayers: '48',
    showMode: '23d'
  }, { //防汛队伍
    name: 'erte', //防汛队伍
    type: 'agsRest', //图层类型
    enable: true,
    visible: false,
    // minZoom: 9,
    //maxZoom: 15,
    opacity: 1,
    zIndex: 3, //图层叠加顺序
    // url: 'https://akzhihuihehu.cn:18090/iserver/services/map-hydro/wms111/hydro',//supermap wms服务地址
    // subLayers: 'fwglxhb@mapdata', //supermap子图层名：  省、市
    useLayerId: true,
    key: 'd58b17638488401192fb1ea7929ea795',
    url: 'http://172.24.10.17:18300/1314361730/geoscene/rest/services/CIM/zhsl0723/MapServer',
    subLayers: '21',
    showMode: '23d'
  }, { //城市防洪圈
    name: 'cpfa', //城市防洪圈
    type: 'agsRest', //图层类型
    enable: true,
    visible: false,
    // minZoom: 9,
    //maxZoom: 15,
    opacity: 1,
    zIndex: 3, //图层叠加顺序
    // url: 'https://akzhihuihehu.cn:18090/iserver/services/map-hydro/wms111/hydro',//supermap wms服务地址
    // subLayers: 'fwglxhb@mapdata', //supermap子图层名：  省、市
    useLayerId: true,
    key: 'd58b17638488401192fb1ea7929ea795',
    url: 'http://172.24.10.17:18300/1314361730/geoscene/rest/services/CIM/zhsl0723/MapServer',
    subLayers: '11',
    showMode: '23d'
  }, { //山洪灾害危险区
    name: 'fda', //山洪灾害危险区
    type: 'agsRest', //图层类型
    enable: true,
    visible: false,
    // minZoom: 9,
    //maxZoom: 15,
    opacity: 1,
    zIndex: 3, //图层叠加顺序
    // url: 'https://akzhihuihehu.cn:18090/iserver/services/map-hydro/wms111/hydro',//supermap wms服务地址
    // subLayers: 'fwglxhb@mapdata', //supermap子图层名：  省、市
    useLayerId: true,
    key: 'd58b17638488401192fb1ea7929ea795',
    url: 'http://172.24.10.17:18300/1314361730/geoscene/rest/services/CIM/zhsl0723/MapServer',
    subLayers: '22',
    showMode: '23d'
  }, { //水源地
    name: 'swhs', //水源地
    type: 'agsRest', //图层类型
    enable: true,
    visible: false,
    // minZoom: 9,
    //maxZoom: 15,
    opacity: 1,
    zIndex: 3, //图层叠加顺序
    // url: 'https://akzhihuihehu.cn:18090/iserver/services/map-hydro/wms111/hydro',//supermap wms服务地址
    // subLayers: 'fwglxhb@mapdata', //supermap子图层名：  省、市
    useLayerId: true,
    key: 'd58b17638488401192fb1ea7929ea795',
    url: 'http://172.24.10.17:18300/1314361730/geoscene/rest/services/CIM/zhsl0723/MapServer',
    subLayers: '84',
    showMode: '23d'
  }, { //河湖取水口
    name: 'wain', //河湖取水口
    type: 'agsRest', //图层类型
    enable: true,
    visible: false,
    // minZoom: 9,
    //maxZoom: 15,
    opacity: 1,
    zIndex: 3, //图层叠加顺序
    // url: 'https://akzhihuihehu.cn:18090/iserver/services/map-hydro/wms111/hydro',//supermap wms服务地址
    // subLayers: 'fwglxhb@mapdata', //supermap子图层名：  省、市
    useLayerId: true,
    key: 'd58b17638488401192fb1ea7929ea795',
    url: 'http://172.24.10.17:18300/1314361730/geoscene/rest/services/CIM/zhsl0723/MapServer',
    subLayers: '92',
    showMode: '23d'
  }, { //灌区
    name: 'irr', //灌区
    type: 'agsRest', //图层类型
    enable: true,
    visible: false,
    // minZoom: 9,
    //maxZoom: 15,
    opacity: 1,
    zIndex: 3, //图层叠加顺序
    // url: 'https://akzhihuihehu.cn:18090/iserver/services/map-hydro/wms111/hydro',//supermap wms服务地址
    // subLayers: 'fwglxhb@mapdata', //supermap子图层名：  省、市
    useLayerId: true,
    key: 'd58b17638488401192fb1ea7929ea795',
    url: 'http://172.24.10.17:18300/1314361730/geoscene/rest/services/CIM/zhsl0723/MapServer',
    subLayers: '37',
    showMode: '23d'
  }, { //泵站
    name: 'pust', //泵站
    type: 'agsRest', //图层类型
    enable: true,
    visible: false,
    // minZoom: 9,
    //maxZoom: 15,
    opacity: 1,
    zIndex: 3, //图层叠加顺序
    // url: 'https://akzhihuihehu.cn:18090/iserver/services/map-hydro/wms111/hydro',//supermap wms服务地址
    // subLayers: 'fwglxhb@mapdata', //supermap子图层名：  省、市
    useLayerId: true,
    key: 'd58b17638488401192fb1ea7929ea795',
    url: 'http://172.24.10.17:18300/1314361730/geoscene/rest/services/CIM/zhsl0723/MapServer',
    subLayers: '55',
    showMode: '23d'
  }, { //饮水安全工程
    name: 'cws', //饮水安全工程
    type: 'agsRest', //图层类型
    enable: true,
    visible: false,
    // minZoom: 9,
    //maxZoom: 15,
    opacity: 1,
    zIndex: 3, //图层叠加顺序
    // url: 'https://akzhihuihehu.cn:18090/iserver/services/map-hydro/wms111/hydro',//supermap wms服务地址
    // subLayers: 'fwglxhb@mapdata', //supermap子图层名：  省、市
    useLayerId: true,
    key: 'd58b17638488401192fb1ea7929ea795',
    url: 'http://172.24.10.17:18300/1314361730/geoscene/rest/services/CIM/zhsl0723/MapServer',
    subLayers: '12',
    showMode: '23d'
  }, { //污水处理厂
    name: 'stp', //污水处理厂
    type: 'agsRest', //图层类型
    enable: true,
    visible: false,
    // minZoom: 9,
    //maxZoom: 15,
    opacity: 1,
    zIndex: 3, //图层叠加顺序
    // url: 'https://akzhihuihehu.cn:18090/iserver/services/map-hydro/wms111/hydro',//supermap wms服务地址
    // subLayers: 'fwglxhb@mapdata', //supermap子图层名：  省、市
    useLayerId: true,
    key: 'd58b17638488401192fb1ea7929ea795',
    url: 'http://172.24.10.17:18300/1314361730/geoscene/rest/services/CIM/zhsl0723/MapServer',
    subLayers: '83',
    showMode: '23d'
  }, { //饮用水保护区
    name: 'parea', //饮用水保护区
    type: 'agsRest', //图层类型
    enable: true,
    visible: false,
    // minZoom: 9,
    //maxZoom: 15,
    opacity: 1,
    zIndex: 3, //图层叠加顺序
    // url: 'https://akzhihuihehu.cn:18090/iserver/services/map-hydro/wms111/hydro',//supermap wms服务地址
    // subLayers: 'fwglxhb@mapdata', //supermap子图层名：  省、市
    useLayerId: true,
    key: 'd58b17638488401192fb1ea7929ea795',
    url: 'http://172.24.10.17:18300/1314361730/geoscene/rest/services/CIM/zhsl0723/MapServer',
    subLayers: '44',
    showMode: '23d'
  }, { //退排水口
    name: 'pdo', //退排水口
    type: 'agsRest', //图层类型
    enable: true,
    visible: false,
    // minZoom: 9,
    //maxZoom: 15,
    opacity: 1,
    zIndex: 3, //图层叠加顺序
    // url: 'https://akzhihuihehu.cn:18090/iserver/services/map-hydro/wms111/hydro',//supermap wms服务地址
    // subLayers: 'fwglxhb@mapdata', //supermap子图层名：  省、市
    useLayerId: true,
    key: 'd58b17638488401192fb1ea7929ea795',
    url: 'http://172.24.10.17:18300/1314361730/geoscene/rest/services/CIM/zhsl0723/MapServer',
    subLayers: '47',
    showMode: '23d'
  }, { //取水户
    name: 'wiu', //取水户
    type: 'agsRest', //图层类型
    enable: true,
    visible: false,
    // minZoom: 9,
    //maxZoom: 15,
    opacity: 1,
    zIndex: 3, //图层叠加顺序
    // url: 'https://akzhihuihehu.cn:18090/iserver/services/map-hydro/wms111/hydro',//supermap wms服务地址
    // subLayers: 'fwglxhb@mapdata', //supermap子图层名：  省、市
    useLayerId: true,
    key: 'd58b17638488401192fb1ea7929ea795',
    url: 'http://172.24.10.17:18300/1314361730/geoscene/rest/services/CIM/zhsl0723/MapServer',
    subLayers: '99',
    showMode: '23d'
  }, { //水土流失重点预防区
    name: 'stlszdfzq', //水土流失重点预防区
    type: 'agsRest', //图层类型
    enable: true,
    visible: false,
    // minZoom: 9,
    //maxZoom: 15,
    opacity: 1,
    zIndex: 3, //图层叠加顺序
    // url: 'https://akzhihuihehu.cn:18090/iserver/services/map-hydro/wms111/hydro',//supermap wms服务地址
    // subLayers: 'fwglxhb@mapdata', //supermap子图层名：  省、市
    useLayerId: true,
    key: 'd58b17638488401192fb1ea7929ea795',
    url: 'http://172.24.10.17:18300/1314361730/geoscene/rest/services/CIM/zhsl0723/MapServer',
    subLayers: '82',
    showMode: '23d'
  }, { //小流域分布
    name: 'bas', //小流域分布
    type: 'agsRest', //图层类型
    enable: true,
    visible: false,
    // minZoom: 9,
    //maxZoom: 15,
    opacity: 1,
    zIndex: 3, //图层叠加顺序
    // url: 'https://akzhihuihehu.cn:18090/iserver/services/map-hydro/wms111/hydro',//supermap wms服务地址
    // subLayers: 'fwglxhb@mapdata', //supermap子图层名：  省、市
    useLayerId: true,
    key: 'd58b17638488401192fb1ea7929ea795',
    url: 'http://172.24.10.17:18300/1314361730/geoscene/rest/services/CIM/zhsl0723/MapServer',
    subLayers: '2',
    showMode: '23d'
  }, { //区县
    name: 'cnty', //区县
    type: 'agsRest', //图层类型
    enable: true,
    visible: false,
    // minZoom: 9,
    //maxZoom: 15,
    opacity: 1,
    zIndex: 3, //图层叠加顺序
    // url: 'https://akzhihuihehu.cn:18090/iserver/services/map-hydro/wms111/hydro',//supermap wms服务地址
    // subLayers: 'fwglxhb@mapdata', //supermap子图层名：  省、市
    useLayerId: true,
    key: 'd58b17638488401192fb1ea7929ea795',
    url: 'http://172.24.10.17:18300/1314361730/geoscene/rest/services/CIM/zhsl0723/MapServer',
    subLayers: '8',
    showMode: '23d'
  }, { //乡镇
    name: 'town', //乡镇
    type: 'agsRest', //图层类型
    enable: true,
    visible: false,
    minZoom: 12,
    maxZoom: 15,
    opacity: 1,
    zIndex: 3, //图层叠加顺序
    // url: 'https://akzhihuihehu.cn:18090/iserver/services/map-hydro/wms111/hydro',//supermap wms服务地址
    // subLayers: 'fwglxhb@mapdata', //supermap子图层名：  省、市
    useLayerId: true,
    key: 'd58b17638488401192fb1ea7929ea795',
    url: 'http://172.24.10.17:18300/1314361730/geoscene/rest/services/CIM/zhsl0723/MapServer',
    subLayers: '87',
    showMode: '23d'
  }, { //20年一遇淹没范围
    name: 'pold20', //灌区
    type: 'agsRest', //图层类型
    enable: true,
    visible: false,
    minZoom: 9,
    maxZoom: 15,
    opacity: 1,
    zIndex: 3, //图层叠加顺序
    // url: 'https://akzhihuihehu.cn:18090/iserver/services/map-hydro/wms111/hydro',//supermap wms服务地址
    // subLayers: 'fwglxhb@mapdata', //supermap子图层名：  省、市
    useLayerId: true,
    key: 'd58b17638488401192fb1ea7929ea795',
    url: 'http://172.24.10.17:18300/1314361730/geoscene/rest/services/CIM/zhsl0723/MapServer',
    subLayers: '50',
    showMode: '23d'
  }, { //30年一遇淹没范围
    name: 'pold30', //灌区
    type: 'agsRest', //图层类型
    enable: true,
    visible: false,
    minZoom: 9,
    maxZoom: 15,
    opacity: 1,
    zIndex: 3, //图层叠加顺序
    // url: 'https://akzhihuihehu.cn:18090/iserver/services/map-hydro/wms111/hydro',//supermap wms服务地址
    // subLayers: 'fwglxhb@mapdata', //supermap子图层名：  省、市
    useLayerId: true,
    key: 'd58b17638488401192fb1ea7929ea795',
    url: 'http://172.24.10.17:18300/1314361730/geoscene/rest/services/CIM/zhsl0723/MapServer',
    subLayers: '52',
    showMode: '23d'
  }, { //50年一遇淹没范围
    name: 'pold50', //灌区
    type: 'agsRest', //图层类型
    enable: true,
    visible: false,
    minZoom: 9,
    maxZoom: 15,
    opacity: 1,
    zIndex: 3, //图层叠加顺序
    // url: 'https://akzhihuihehu.cn:18090/iserver/services/map-hydro/wms111/hydro',//supermap wms服务地址
    // subLayers: 'fwglxhb@mapdata', //supermap子图层名：  省、市
    useLayerId: true,
    key: 'd58b17638488401192fb1ea7929ea795',
    url: 'http://172.24.10.17:18300/1314361730/geoscene/rest/services/CIM/zhsl0723/MapServer',
    subLayers: '53',
    showMode: '23d'
  }, { //100年一遇淹没范围
    name: 'pold100', //灌区
    type: 'agsRest', //图层类型
    enable: true,
    visible: false,
    minZoom: 9,
    maxZoom: 15,
    opacity: 1,
    zIndex: 3, //图层叠加顺序
    // url: 'https://akzhihuihehu.cn:18090/iserver/services/map-hydro/wms111/hydro',//supermap wms服务地址
    // subLayers: 'fwglxhb@mapdata', //supermap子图层名：  省、市
    useLayerId: true,
    key: 'd58b17638488401192fb1ea7929ea795',
    url: 'http://172.24.10.17:18300/1314361730/geoscene/rest/services/CIM/zhsl0723/MapServer',
    subLayers: '49',
    showMode: '23d'
  }, { //200年一遇淹没范围
    name: 'pold200', //灌区
    type: 'agsRest', //图层类型
    enable: true,
    visible: false,
    minZoom: 9,
    maxZoom: 15,
    opacity: 1,
    zIndex: 3, //图层叠加顺序
    // url: 'https://akzhihuihehu.cn:18090/iserver/services/map-hydro/wms111/hydro',//supermap wms服务地址
    // subLayers: 'fwglxhb@mapdata', //supermap子图层名：  省、市
    useLayerId: true,
    key: 'd58b17638488401192fb1ea7929ea795',
    url: 'http://172.24.10.17:18300/1314361730/geoscene/rest/services/CIM/zhsl0723/MapServer',
    subLayers: '51',
    showMode: '23d'
  }, { //转移安置点
    name: 'zyazd', //转移安置点
    type: 'agsRest', //图层类型
    enable: true,
    visible: false,
    minZoom: 9,
    maxZoom: 15,
    opacity: 1,
    zIndex: 3, //图层叠加顺序
    // url: 'https://akzhihuihehu.cn:18090/iserver/services/map-hydro/wms111/hydro',//supermap wms服务地址
    // subLayers: 'fwglxhb@mapdata', //supermap子图层名：  省、市
    useLayerId: true,
    key: 'd58b17638488401192fb1ea7929ea795',
    url: 'http://172.24.10.17:18300/1314361730/geoscene/rest/services/CIM/zhsl0723/MapServer',
    subLayers: '123',
    showMode: '23d'
  }],

  layersConfig2: [{
    //城市水体
    name: 'csst',
    type: 'agsRest', //图层类型
    enable: true,
    visible: false,
    // minZoom: 9,
    //maxZoom: 15,
    opacity: 1,
    zIndex: 3, //图层叠加顺序
    // url: 'https://akzhihuihehu.cn:18090/iserver/services/map-hydro/wms111/hydro',//supermap wms服务地址
    // subLayers: 'fwglxhb@mapdata', //supermap子图层名：  省、市
    useLayerId: true,
    key: 'd58b17638488401192fb1ea7929ea795',
    lgh: '596112907180314624',
    url: 'http://172.24.10.17:18300/1832608307/proxy/csstzxcq4490/arcgis/rest/services/ggzt/ggzt_slzt_csst_xdcs_4490/MapServer',
    subLayers: '0',
    showMode: '23d'
  }, {
    //小微水体
    name: 'xwst',
    type: 'agsRest', //图层类型
    enable: true,
    visible: false,
    // minZoom: 9,
    //maxZoom: 15,
    opacity: 1,
    zIndex: 3, //图层叠加顺序
    // url: 'https://akzhihuihehu.cn:18090/iserver/services/map-hydro/wms111/hydro',//supermap wms服务地址
    // subLayers: 'fwglxhb@mapdata', //supermap子图层名：  省、市
    useLayerId: true,
    key: 'd58b17638488401192fb1ea7929ea795',
    lgh: '596112907180314624',
    url: 'http://172.24.10.17:18300/1563959231/proxy/xwst4490/arcgis/rest/services/ggzt/ggzt_slzt_xwst_xdcs_4490/MapServer',
    subLayers: '0',
    showMode: '23d'
  }, {
    //水库、湖泊
    name: 'skhp',
    type: 'agsRest', //图层类型
    enable: true,
    visible: false,
    // minZoom: 9,
    //maxZoom: 15,
    opacity: 1,
    zIndex: 3, //图层叠加顺序
    // url: 'https://akzhihuihehu.cn:18090/iserver/services/map-hydro/wms111/hydro',//supermap wms服务地址
    // subLayers: 'fwglxhb@mapdata', //supermap子图层名：  省、市
    useLayerId: true,
    key: 'd58b17638488401192fb1ea7929ea795',
    lgh: '596112907180314624',
    url: 'http://172.24.10.17:18300/475101504/proxy/skhb4490/arcgis/rest/services/ggzt/ggzt_slzt_shuiku_xdcs_4490/MapServer',
    subLayers: '0',
    showMode: '23d'
  }, {
    //水资源分布
    name: 'szyfb',
    type: 'agsRest', //图层类型
    enable: true,
    visible: false,
    // minZoom: 9,
    //maxZoom: 15,
    opacity: 1,
    zIndex: 3, //图层叠加顺序
    // url: 'https://akzhihuihehu.cn:18090/iserver/services/map-hydro/wms111/hydro',//supermap wms服务地址
    // subLayers: 'fwglxhb@mapdata', //supermap子图层名：  省、市
    useLayerId: true,
    key: 'd58b17638488401192fb1ea7929ea795',
    lgh: '596112907180314624',
    url: 'http://172.24.10.17:18300/573029717/proxy/szyfbzxcq4490/arcgis/rest/services/ggzt/ggzt_slzt_szyfb_xdcs_4490/MapServer',
    subLayers: '0,1,2',
    showMode: '23d'
  }],

  //图层控制


  //样式配置
  styleConfig: [{
    id: 'cntyLine', // 县区边界
    type: 'LineStyle',
    strokeColor: 'rgb(247,181,81)',
    strokeWidth: 1
  }, {
    id: 'provLine1', // 省边界
    type: 'LineStyle',
    strokeColor: 'rgb(251,77,57)',
    strokeWidth: 2
  }, {
    id: 'provLine2', // 省边界
    type: 'LineStyle',
    strokeColor: 'rgb(255,248,65)',
    strokeWidth: 12
  }, {
    id: 'riverFlow', // 河流
    type: 'DashLineStyle',
    strokeColor: 'rgb(0,114,255)',
    strokeWidth: 2,
    lineDash: [10, 10]
  }, {
    id: 'rswb1', // 水库
    type: 'PolygonStyle',
    strokeColor: 'rgb(65,105,251)',
    strokeWidth: 1,
    fillColor: 'rgb(0,185,255)'
  }],

  //地图overlay配置
  overlayConfig: [],

  analysisPointLayerConfig: {
    analysisPointLayerList: [{
      'pointDataType': 0,//数据类型 降雨量
      'pointDataUnit': 'mm',
      'legendStyle': 'legendPoint',//图例样式点或者方形
      'dataUrl': 'assets/map/data/ylzdata.json',
      'contrastList'://数据对比信息
        [{
          'contrastValue': 10,
          'contrastColor': '#beeb9c',
          'isShow': true,
          'contrastLevel': '0'
        },
        {
          'contrastValue': 25,
          'contrastColor': '#377726',
          'isShow': true,
          'contrastLevel': '1'
        },
        {
          'contrastValue': 50,
          'contrastColor': '#62b7ef',
          'isShow': true,
          'contrastLevel': '2'
        },
        {
          'contrastValue': 100,
          'contrastColor': '#0023ef',
          'isShow': true,
          'contrastLevel': '3'
        },
        {
          'contrastValue': 250,
          'contrastColor': '#e655f1',
          'isShow': true,
          'contrastLevel': '4'
        },
        {
          'contrastValue': 500,
          'contrastColor': '#ea3223',
          'isShow': true,
          'contrastLevel': '5'
        }
        ],//对比值及对应颜色(填充边框)
      'radius': 3,//点半径
      'strokeWidth': 3, //边框宽
    }]
  },

  //搜关联配置
  withQueryObjConfig: [
    {
      'id': 'pump',
      'name': '泵站',
      'layerName': 'mapdata:pust',
      'icon': 'gis/image/slyzt/layertools/pump.png'
    },
    {
      'id': 'hypo',
      'name': '水电站',
      'layerName': 'mapdata:hypo',
      'icon': 'gis/image/slyzt/layertools/hypo.png'
    },
    {
      'id': 'res',
      'name': '水库',
      'layerName': 'mapdata:res',
      'featuretypes': ['res'],
      'icon': 'gis/image/slyzt/layertools/res.png'
    },
    {
      'id': 'dam',
      'name': '大坝',
      'layerName': '',
      'icon': 'gis/image/slyzt/search_connect/dam.png'
    },
    {
      'id': 'irr',
      'name': '灌区',
      'layerName': 'mapdata:irr',
      'icon': 'gis/image/slyzt/search_connect/irr.png'
    },
    {
      'id': 'gate',
      'name': '水闸',
      'layerName': 'mapdata:gate',
      'icon': 'gis/image/slyzt/layertools/gate.png'
    },
    {
      'id': 'ditr',
      'name': '引调水',
      'layerName': '',
      'icon': 'gis/image/slyzt/search_connect/ditr.png'
    },
    {
      'id': 'fsda',
      'name': '蓄滞洪区',
      'layerName': 'mapdata:xzhq',
      'icon': 'gis/image/slyzt/search_connect/fsda.png'
    },
    {
      'id': 'dike',
      'name': '堤防',
      'layerName': 'mapdata:dike',
      'icon': 'gis/image/slyzt/layertools/dike.png'
    },
    {
      'id': 'grpj',
      'name': '治河工程',
      'layerName': '',
      'icon': 'gis/image/slyzt/layertools/grpj.png'
    },
    {
      'id': 'rub',
      'name': '橡胶坝',
      'layerName': '',
      'icon': 'gis/image/slyzt/layertools/rub.png'
    },
    {
      'id': 'zq',
      'name': '河道站',
      'layerName': 'mapdata:st',
      'featuretypes': ['ZQ', 'ZZ'],
      'icon': 'gis/image/slyzt/layertools/zq.png'
    },
    {
      'id': 'wfz',
      'name': '水功能区',
      'layerName': 'mapdata:wfz',
      'icon': 'gis/image/slyzt/search_connect/wfz.png'
    },
    {
      'id': 'swhs',
      'name': '地表水水源地',
      'layerName': 'mapdata:syd',
      'icon': 'gis/image/slyzt/layertools/sws.png'
    },
    {
      'id': 'wint',
      'name': '地表水取水口',
      'layerName': 'mapdata:wint',
      'icon': 'gis/image/slyzt/layertools/wint.png'
    },
    {
      'id': 'pdo',
      'name': '退水排污口',
      'layerName': 'mapdata:pdo',
      'icon': 'gis/image/slyzt/layertools/pdo.png'
    },
    {
      'id': 'drho',
      'name': '退排水户',
      'layerName': '',
      'icon': 'gis/image/slyzt/layertools/wiu.png'
    },
    {
      'id': 'rise',
      'name': '河道断面',
      'layerName': '',
      'icon': 'gis/image/slyzt/layertools/rise.png'
    },
    {
      'id': 'river',
      'name': '河流',
      'layerName': 'mapdata:river',
      'icon': 'gis/image/slyzt/layertools/rise.png'
    },
    {
      'id': 'lake',
      'name': '湖泊',
      'layerName': 'mapdata:lake',
      'icon': 'gis/image/slyzt/layertools/lake.png'
    },
    {
      'id': 'chan',
      'name': '渠道',
      'layerName': 'mapdata:ganqu',
      'icon': 'gis/image/slyzt/layertools/chan.png'
    },
    {
      'id': 'pold',
      'name': '圩垸',
      'layerName': '',
      'icon': 'gis/image/slyzt/layertools/pold.png'
    },
    {
      'id': 'well',
      'name': '地下水取水井',
      'layerName': 'mapdata:well',
      'icon': 'gis/image/slyzt/layertools/well.png'
    },
    {
      'id': 'wiu',
      'name': '取用水户',
      'layerName': 'mapdata:wiu',
      'icon': 'gis/image/slyzt/layertools/wiu.png'
    },
    {
      'id': 'rr',
      'name': '水库水文站',
      'layerName': 'mapdata:st',
      'featuretypes': ['RR'],
      'icon': 'gis/image/slyzt/layertools/zq.png'
    },
    {
      'id': 'res_stat',
      'name': '水质站',
      'layerName': 'mapdata:wq',
      'featuretypes': ['WQ'],
      'icon': 'gis/image/slyzt/layertools/res_stat1.png'
    },
    {
      'id': 'pp',
      'name': '雨量站',
      'layerName': 'mapdata:st',
      'featuretypes': ['PP'],
      'icon': 'gis/image/slyzt/layertools/pp.png'
    },
    {
      'id': 'zg',
      'name': '地下水站',
      'layerName': 'mapdata:st',
      'featuretypes': ['ZG'],
      'icon': 'gis/image/slyzt/layertools/zq.png'
    },
    {
      'id': 'gws',
      'name': '地下水水源地',
      'layerName': '',
      'icon': 'gis/image/slyzt/layertools/gws.png'
    },
    {
      'id': 'cws',
      'name': '农村供水工程',
      'layerName': 'mapdata:cws',
      'icon': 'gis/image/slyzt/layertools/cws.png'
    },
    {
      'id': 'bas',
      'name': '流域',
      'layerName': 'mapdata:bast',
      'icon': 'gis/image/slyzt/layertools/bas16.png'
    },
    {
      'id': 'flum',
      'name': '渡槽',
      'layerName': '',
      'icon': 'gis/image/slyzt/layertools/dike.png'
    },
    {
      'id': 'insi',
      'name': '倒虹吸',
      'layerName': '',
      'icon': 'gis/image/slyzt/layertools/dike.png'
    },
    {
      'id': 'culv',
      'name': '涵洞',
      'layerName': '',
      'icon': 'gis/image/slyzt/layertools/culv.png'
    },
    {
      'id': 'sd',
      'name': '淤地坝',
      'layerName': '',
      'icon': 'gis/image/slyzt/layertools/sd.png'
    },
    {
      'id': 'wrz',
      'name': '水资源分区',
      'layerName': '',
      'icon': 'gis/image/slyzt/layertools/bas16.png'
    },
    {
      'id': 'area',
      'name': '泉域',
      'layerName': '',
      'icon': 'gis/image/slyzt/layertools/ccq.png'
    },
    {
      'id': 'dpds',
      'name': '险工险段',
      'layerName': '',
      'icon': 'gis/image/slyzt/layertools/dike.png'
    },
    {
      'id': 'wmst',
      'name': '视频站',
      'layerName': 'mapdata:mopo',
      'icon': 'gis/image/slyzt/layertools/mopo.png'
    },
    {
      'id': 'mm',
      'name': '气象站',
      'layerName': '',
      'featuretypes': ['MM'],
      'icon': 'gis/image/slyzt/layertools/mm.png'
    },
    {
      'id': 'zz',
      'name': '水位站',
      'layerName': 'mapdata:st',
      'featuretypes': ['ZZ'],
      'icon': 'gis/image/slyzt/layertools/zz.png'
    }
  ],

  //搜关联配置
  withQueryConfig: [
    {
      'id': 'river', // 河流
      'detail': ['res', 'zq', 'res_stat', 'pp'],
      'defaultSelected': ['res', 'zq', 'res_stat', 'pp']
    },
    {
      'id': 'lake', // 湖泊
      'detail': ['pp', 'mm', 'zz'],
      'defaultSelected': ['zz']
    },
    {
      'id': 'bas', // 流域
      'detail': ['pp', 'mm', 'zz'],
      'defaultSelected': ['zz']
    },
    {
      'id': 'area', // 泉域
      'detail': ['pp', 'mm', 'zz'],
      'defaultSelected': ['zz']
    },
    {
      'id': 'guer', // 山洪沟（侵蚀沟道）
      'detail': ['pp', 'mm', 'zz'],
      'defaultSelected': ['zz']
    },
    {
      'id': 'res', // 水库
      'detail': ['pp', 'mm', 'zz'],
      'defaultSelected': ['zz']
    },
    {
      'id': 'dam', // 大坝
      'detail': ['pp', 'mm', 'zz'],
      'defaultSelected': ['zz']
    },
    {
      'id': 'hypo', // 水电站
      'detail': ['pp', 'mm', 'zz'],
      'defaultSelected': ['zz']
    },
    {
      'id': 'irr', // 灌区
      'detail': ['pp', 'mm', 'zz'],
      'defaultSelected': ['zz']
    },
    {
      'id': 'chan', // 渠道
      'detail': ['pp', 'mm', 'zz'],
      'defaultSelected': ['zz']
    },
    {
      'id': 'gate', // 水闸
      'detail': ['pp', 'mm', 'zz'],
      'defaultSelected': ['zz']
    },
    {
      'id': 'flum', // 渡槽
      'detail': ['pp', 'mm', 'zz'],
      'defaultSelected': ['zz']
    },
    {
      'id': 'insi', // 倒虹吸
      'detail': ['pp', 'mm', 'zz'],
      'defaultSelected': ['zz']
    },
    {
      'id': 'pump', // 泵站
      'detail': ['pp', 'mm', 'zz'],
      'defaultSelected': ['zz']
    },
    {
      'id': 'culv', // 涵洞
      'detail': ['pp', 'mm', 'zz'],
      'defaultSelected': ['zz']
    },
    {
      'id': 'ditr', // 引调水工程
      'detail': ['pp', 'mm', 'zz'],
      'defaultSelected': ['zz']
    },
    {
      'id': 'cws', // 农村供水工程
      'detail': ['pp', 'mm', 'zz'],
      'defaultSelected': ['zz']
    },
    {
      'id': 'fsda', // 蓄滞洪区
      'detail': ['pp', 'mm', 'zz'],
      'defaultSelected': ['zz']
    },
    {
      'id': 'dike', // 堤防
      'detail': ['pp', 'mm', 'zz'],
      'defaultSelected': ['zz']
    },
    {
      'id': 'pold', // 圩垸
      'detail': ['pp', 'mm', 'zz'],
      'defaultSelected': ['zz']
    },
    {
      'id': 'grpj', // 治河工程
      'detail': ['pp', 'mm', 'zz'],
      'defaultSelected': ['zz']
    },
    {
      'id': 'sd', // 淤地坝
      'detail': ['pp', 'mm', 'zz'],
      'defaultSelected': ['zz']
    },
    {
      'id': 'rub', // 橡胶坝
      'detail': ['pp', 'mm', 'zz'],
      'defaultSelected': ['zz']
    },
    {
      'id': 'wrz', // 水资源分区
      'detail': ['pp', 'mm', 'zz'],
      'defaultSelected': ['zz']
    },
    {
      'id': 'wfz', // 水功能区
      'detail': ['pp', 'mm', 'zz'],
      'defaultSelected': ['zz']
    },
    {
      'id': 'rea', // 河段
      'detail': ['pp', 'mm', 'zz'],
      'defaultSelected': ['zz']
    },
    {
      'id': 'disc', // 堤段
      'detail': ['pp', 'mm', 'zz'],
      'defaultSelected': ['zz']
    },
    {
      'id': 'dpds', // 险工险段
      'detail': ['pp', 'mm', 'zz'],
      'defaultSelected': ['zz']
    },
    {
      'id': 'swhs', // 地表水水源地
      'detail': ['pp', 'mm', 'zz'],
      'defaultSelected': ['zz']
    },
    {
      'id': 'gws', // 地下水水源地
      'detail': ['pp', 'mm', 'zz'],
      'defaultSelected': ['zz']
    },
    {
      'id': 'wint', // 地表水取水口
      'detail': ['pp', 'mm', 'zz'],
      'defaultSelected': ['zz']
    },
    {
      'id': 'well', // 地下水取水井
      'detail': ['pp', 'mm', 'zz'],
      'defaultSelected': ['zz']
    },
    {
      'id': 'pdo', // 退排水口（排污口）
      'detail': ['pp', 'mm', 'zz'],
      'defaultSelected': ['zz']
    },
    {
      'id': 'wiu', // 取用水户
      'detail': ['pp', 'mm', 'zz'],
      'defaultSelected': ['zz']
    },
    {
      'id': 'drho', // 退排水户
      'detail': ['pp', 'mm', 'zz'],
      'defaultSelected': ['zz']
    },
    {
      'id': 'wawo', // 自来水厂
      'detail': ['pp', 'mm', 'zz'],
      'defaultSelected': ['zz']
    },
    {
      'id': 'rise', // 河道断面
      'detail': ['pp', 'mm', 'zz'],
      'defaultSelected': ['zz']
    },
    {
      'id': 'zq', // 河道站
      'detail': ['pp', 'mm', 'zz'],
      'defaultSelected': ['zz']
    },
    {
      'id': 'rr', // 水库水文站
      'detail': ['pp', 'mm', 'zz'],
      'defaultSelected': ['zz']
    },
    {
      'id': 'pp', // 雨量站
      'detail': ['pp', 'mm', 'zz'],
      'defaultSelected': ['zz']
    },
    {
      'id': 'res_stat', // 水质站
      'detail': ['pp', 'mm', 'zz'],
      'defaultSelected': ['zz']
    },
    {
      'id': 'zg', // 地下水站
      'detail': ['pp', 'mm', 'zz'],
      'defaultSelected': ['zz']
    },
    {
      'id': 'lk', // 湖泊
      'detail': ['pp', 'mm', 'zz'],
      'defaultSelected': ['zz']
    },
    {
      'id': 'sxax', // 水系岸线
      'detail': ['pp', 'mm', 'zz'],
      'defaultSelected': ['zz']
    },
    {
      'id': 'hd', // 河段
      'detail': ['pp', 'mm', 'zz'],
      'defaultSelected': ['zz']
    },
    {
      'id': 'sep', // 采砂分区
      'detail': ['pp', 'mm', 'zz'],
      'defaultSelected': ['zz']
    },
    {
      'id': 'shgc', // 涉河工程
      'detail': ['pp', 'mm', 'zz'],
      'defaultSelected': ['zz']
    },
    {
      'id': 'mm', // 气象站
      'detail': ['pp', 'mm', 'zz'],
      'defaultSelected': ['zz']
    },
    {
      'id': 'zz', // 河道水位站
      'detail': ['pp', 'mm', 'zz'],
      'defaultSelected': ['zz']
    },
    {
      'id': 'ss', // 墒情站
      'detail': ['pp', 'mm', 'zz'],
      'defaultSelected': ['zz']
    },
    {
      'id': 'bb', // 蒸发站
      'detail': ['pp', 'mm', 'zz'],
      'defaultSelected': ['zz']
    },
    {
      'id': 'mawh', // 物料储备地点
      'detail': ['pp', 'mm', 'zz'],
      'defaultSelected': ['zz']
    },
    {
      'id': 'erte', // 防汛队伍
      'detail': ['pp', 'mm', 'zz'],
      'defaultSelected': ['zz']
    },
    {
      'id': 'cpfa', // 城市防洪圈
      'detail': ['pp', 'mm', 'zz'],
      'defaultSelected': ['zz']
    },
    {
      'id': 'fda', // 山洪灾害危险区
      'detail': ['pp', 'mm', 'zz'],
      'defaultSelected': ['zz']
    },
    {
      'id': 'fldp', // 易涝点
      'detail': ['pp', 'mm', 'zz'],
      'defaultSelected': ['zz']
    },
    {
      'id': 'xgxd', // 险工险段
      'detail': ['pp', 'mm', 'zz'],
      'defaultSelected': ['zz']
    },
    {
      'id': 'yhd', // 溢洪道
      'detail': ['pp', 'mm', 'zz'],
      'defaultSelected': ['zz']
    },
    {
      'id': 'cdjzw', // 穿堤建(构)筑物
      'detail': ['pp', 'mm', 'zz'],
      'defaultSelected': ['zz']
    },
    {
      'id': 'pond', // 骨干山塘
      'detail': ['pp', 'mm', 'zz'],
      'defaultSelected': ['zz']
    },
    {
      'id': 'gsp', // 公示牌
      'detail': ['pp', 'mm', 'zz'],
      'defaultSelected': ['zz']
    },
    {
      'id': 'vpff', // 山洪灾害易发村
      'detail': ['pp', 'mm', 'zz'],
      'defaultSelected': ['zz']
    },
    {
      'id': 'stp', // 污水处理厂
      'detail': ['pp', 'mm', 'zz'],
      'defaultSelected': ['zz']
    },
    {
      'id': 'parea', // 饮用水保护区
      'detail': ['pp', 'mm', 'zz'],
      'defaultSelected': ['zz']
    },
    {
      'id': 'zlsc', // 自来水厂
      'detail': ['pp', 'mm', 'zz'],
      'defaultSelected': ['zz']
    },
    {
      'id': 'wsc', // 节水载体
      'detail': ['pp', 'mm', 'zz'],
      'defaultSelected': ['zz']
    },
    {
      'id': 'stlszdfzq', // 水土流失治理
      'detail': ['pp', 'mm', 'zz'],
      'defaultSelected': ['zz']
    },
    {
      'id': 'wscz', // 水土保持区划
      'detail': ['pp', 'mm', 'zz'],
      'defaultSelected': ['zz']
    },
    {
      'id': 'ad', // 行政单位(区县)
      'detail': ['pp', 'mm', 'zz'],
      'defaultSelected': ['zz']
    },
    {
      'id': 'town', // 行政单位(乡镇)
      'detail': ['pp', 'mm', 'zz'],
      'defaultSelected': ['zz']
    },
    {
      'id': 'wiun', // 水事管理机构
      'detail': ['pp', 'mm', 'zz'],
      'defaultSelected': ['zz']
    },
    {
      'id': 'wain', // 河湖取水口
      'detail': ['pp', 'mm', 'zz'],
      'defaultSelected': ['zz']
    }
  ]

})
